package com.knowswift.issues.mqtt.message;

import com.knowswift.issues.mqtt.DataLength;
import lombok.Data;

@Data
public class DeviceStatusMessageForReceive extends MessageObject {
    //    private Integer length;
//    private Integer messageType; // 状态报文为0x03
    @DataLength(length = 2)
    private Integer voltage; //电压 单位mV
    private Integer temperature;
    private Integer humidity;
    @DataLength(length = 2)
    private Integer electric; //电流 单位mA
    @DataLength(length = 4)
    private Integer longitude; //经度
    @DataLength(length = 4)
    private Integer longitudeRatio; //经度倍率
    @DataLength(length = 4)
    private Integer latitude; //纬度
    @DataLength(length = 4)
    private Integer latitudeRatio; //纬度倍率
    private Integer signalQuality;
    private Integer ICCIDLength;
    @DataLength(refer = "ICCIDLength")
    private Integer ICCID;// SIM卡唯一标识号


}
